package com.it.system.course_service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.it.system.course_service.mapper.CourseTypeMapper;
import com.it.system.course_service.service.CourseTypeService;
import com.it.system.educommonapi.entity.CourseType;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CourseTypeServiceImpl extends ServiceImpl<CourseTypeMapper, CourseType> implements CourseTypeService {
    @Override
    public List<CourseType> getAllCourseTypes() {
        return baseMapper.selectAllCourseTypes();
    }
} 